package annotation.singleton

import annotation.singleton.SingletonTestJ

println SingletonTestJ.getInstance().getInitialDate()
sleep(1000)
println SingletonTestJ.getInstance().getInitialDate()
sleep(1000)

println "----------------------------------------"
println SingletonTestG1.getInstance().getInitialDate()
sleep(1000)
println SingletonTestG1.getInstance().getInitialDate()
sleep(1000)
println SingletonTestG1.getInstance().getInitialDate()


println "----------------------------------------"
println SingletonTestG2.getInstance().getInitialDate
sleep(1000)
println SingletonTestG2.getInstance().getInitialDate
